package interfaces;


import java.rmi.Remote;
import java.rmi.RemoteException;

import valueObjects.game.Player;

public interface IClientServer extends Remote{
	
	/**
	 * Constructor for IClientSender : createSession
	 * @param p
	 * @param handle
	 * @throws RemoteException
	 */
	public IClientSender createSession(Player p, IClientReciever handle) throws RemoteException;

	/**
	 * Removes the given session
	 * @param session
	 * @throws RemoteException
	 */
	void removeSession(IClientSender session) throws RemoteException;

}
